package com.flyduck.mall.pms.api;

import com.flyduck.mall.pms.api.vo.RemoteProductRespVO;
import com.flyduck.mall.pms.api.vo.RemoteProductUpdateReqVO;
import com.flyduck.ss.common.core.domain.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: vueshop-cloud
 * @description:
 * @author: flyduck
 * @create: 2024-07-15 21:16
 **/
@Slf4j
public class RemoteProductServiceMock implements RemoteProductService {
    @Override
    public RemoteProductRespVO getProductById(Long id) {
        log.error("获取商品失败");
        return null;
    }

    @Override
    public List<RemoteProductRespVO> getOnSaleProductList() {
        log.error("获取商品失败");
        return new ArrayList<>();
    }

    @Override
    public void batchUpdateProduct(List<RemoteProductUpdateReqVO> remoteProductUpdateReqVOList) {
        log.error("批量更新商品失败");
    }
}
